package com.itlong.cloud.POJO.DTO.operate;

import com.itlong.cloud.POJO.DTO.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      添加产品型号DTO
 * </desc>
 *
 * @createDate 2017-10-13.
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class OperateProductTypeSaveDTO extends BaseDTO implements Serializable{
    private String typeCode; //型号
    private Integer deviceKind; //设备类别： 梯控，门禁，云对讲
    private String typeName; //型号名称

    private String typePid; //设备Pid，云对讲时不为空

    //MultipartFile类型，先存储文件，并重置该值为文件访问路径
    private String signSecretKey; //签名私钥文件路径
    private Object signSecretKeyFile; //签名私钥文件，云对讲时不为空
    private String signPubKey; //签名公钥文件路径
    private Object signPubKeyFile; //签名私钥文件，云对讲时不为空
    private String serverKey; //服务器公钥文件路径
    private Object serverKeyFile; //服务器公钥文件，云对讲时不为空

    private String remark; //备注
}
